<h1 style="color:red"><?php echo $activity['name']." - ".$activity['provide']." - ",$activity['typeofactivity'] ?></h1>
<input type="button" value="Insert" onClick="location.assign('<?php echo base_url()."admin/activityprice/edit?activityid=".intval($_GET['activityid']) ?>');" style="float:right;margin:0 15px 5px 0;"/>
<table>
	<tr>
    	<th>STT</th>
        <th>Date From ==> To</th>
        <th>P.f 1</th>
        <th>P.f 2</th>
        <th>P.f 3-4</th>
        <th>P.f 5-8</th>
        <th>P.f 9-12</th>
        <th>P.f 13-16</th>
        <th>P.f >16</th>
        <th>Status</th>
        <th>Edit / Del</th>
    </tr>
    <?php foreach($data as $k=>$list){?>
		<tr>
    	<th><?php echo $k+1 ?></th>
        <th><?php echo date("Y-m-d",strtotime($list['datefrom']))."=>".$list['dateto'] ?></th>
        <th><?php echo "$".$list['pricefor1'] ?></th>
        <th><?php echo "$".$list['pricefor2'] ?></th>
        <th><?php echo "$".$list['pricefor34'] ?></th>
        <th><?php echo "$".$list['pricefor58'] ?></th>
        <th><?php echo "$".$list['pricefor912'] ?></th>
        <th><?php echo "$".$list['pricefor1316'] ?></th>
        <th><?php echo "$".$list['pricefor16'] ?></th>
        <th><select name="changestatus" onChange="location.assign('<?php echo base_url(); ?>/admin/activityprice/changestatus?activityid=<?php echo intval($_GET['activityid']) ?>&id=<?php echo $list["id"] ?>&status='+this.options[this.selectedIndex].value);">
        <option value="1" <?php if($list['status']==1) echo "selected";?>>Highlights</option>
        <option value="2" <?php if($list['status']==2) echo "selected";?>>Normal</option>
        <option value="3" <?php if($list['status']==3) echo "selected";?>>Hidden</option>
      </select></th>
        <th><a href="<?php echo base_url(); ?>admin/activityprice/edit?activityid=<?php echo $_GET['activityid'] ?>&id=<?php echo $list['id'] ?>"><img src="<?php echo base_url(); ?>public/admin/img/icons/user_edit.png"/></a> 
        <a href="javascript:void(0);" onClick="if(confirm('Do you want to Del this Information ?')) location.assign('<?php echo base_url(); ?>admin/activityprice/delete?activityid=<?php echo $_GET['activityid'] ?>&id=<?php echo $list["id"]; ?>');"><img src="<?php echo base_url(); ?>public/admin/img/icons/user_delete.png"/></a></th>
    </tr>
	<?php }?>
</table>